<template>
  <view class="container">
    <view class="img">
      <image v-if="imgUrl" class="result-image" :src="imgUrl" />
      <custom-emptyMsg v-else/>
    </view>

    <view class="footer">
      <block v-for="item in items" :key="item.key">
        <view 
          class="item" 
          @click="handleItem" 
          :data-item="item"
        >
          <image :src="item.img"/>
          <view>{{item.title}}</view>
        </view>
      </block>
    </view>
  </view>
</template>
<script src="./indexMod.js" />
<style src="./indexStyle.scss" lang="scss" scoped>
</style>